package cn.appsys.service.back;
/**
 * @author zdx
 */
import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.appsys.dao.back.BackendUserDao;
import cn.appsys.pojo.AppCategory;
import cn.appsys.pojo.BackendUser;

@Service("Category_BackService")
public class BackendUserServiceImpl implements BackendUserService {
	@Resource
	private BackendUserDao backendUserDao;
	//二级分类下拉框
	@Override
	public List<AppCategory> AppCategoryList2(Integer pid) {
		// TODO Auto-generated method stub
		return backendUserDao.AppCategoryList2(pid);
	}
	//三级分类下拉框
	@Override
	public List<AppCategory> AppCategoryList3(Integer pid) {
		// TODO Auto-generated method stub
		return backendUserDao.AppCategoryList3(pid);
	}
	@Override
	public BackendUser login(String code, String pwd) {
		// TODO Auto-generated method stub
		return backendUserDao.login(code, pwd);
	}

}
